<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<ProductDto>" %>
<%@ Import Namespace="AspNetMvcViewBestPractices.Models"%>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

    <div class="example">
        <h2>Using a ProductDto mapper</h2>    
        <div class="stockLevel <%=Model.UnitsInStockCssClassName%>">        
            <span>Number Of Units In Stock: <%=Model.Product.UnitsInStock %></span>
        </div>
    </div>
    
    <%=Html.ActionLink("Show other examples", "Index") %>

</asp:Content>